/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.hcbank.sessionbeans;

import com.hcbank.classes.Account;
import java.util.List;
import javax.ejb.Remote;

/**
 *
 * @author NHAHV
 */
@Remote
public interface AccountSessionBeanRemote {

    Account ATMLogin(String Number,String PIN);

    List<Account> GetAllAccount();

    Account AddAccount(Account account);

    /**
     *
     * @param account
     * @return
     */
    Account UpdateAccount(Account account);

    boolean DeleteAccount(int primaryKey);



    
}
